GdkGL: Fix and clean up gdk_cairo_draw_from_gl()
authorAlexander Larsson <alexl@redhat.com>
Wed, 5 Nov 2014 08:52:51 +0000 (09:52 +0100)
committerAlexander Larsson <alexl@redhat.com>
Wed, 5 Nov 2014 08:54:05 +0000 (09:54 +0100)
commite4bf60224b190638f6a88af897ef7ecdf817dc0e
treebc345ceaf8b4f73a46d18d137148a2a11070ddc0
parentc41231cc0fdc791a7a69cdd77af51c8162f44aa4
GdkGL: Fix and clean up gdk_cairo_draw_from_gl()

This was unnecessarily creating a framebuffer in the texture case,
and it was not properly setting up a framebuffer with the texture
as source in the software fallback w/ texture source case.
gdk/gdkgl.c